package com.dxq.oa.service;

import com.dxq.oa.entity.Menu;
import com.dxq.oa.entity.Role;
import com.dxq.oa.entity.User;

import java.util.List;

public interface UserService {
    User login(User user);

    List<User> findAll();

    public List<User> findByPage(String start,String row);

    public long findTotol();

    public List<Menu> findMenu();

    boolean addUser(User user);

    List<Menu> findMenuList();

    void alterPwd(String pwd,String token);

    List<Role> getRole();
}
